<?php
/**
 * Created by PhpStorm.
 * User: lining
 * Date: 2018/8/15
 * Time: 14:13
 */
//管理后台
Route::group(['prefix' => 'admin'],function (){
    //登录页面显示
    Route::get('/login','\App\Admin\Controllers\LoginController@index');
    //登录
    Route::post('/login','\App\Admin\Controllers\LoginController@login');
    //退出
    Route::get('/loginout','\App\Admin\Controllers\LoginController@loginout');
});